﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Item.Master" AutoEventWireup="true" CodeBehind="HelpCategoryItem.aspx.cs"
 Inherits="SGDemo.Permission.HelpCategoryItem" %>
<asp:Content ID="Content1" ContentPlaceHolderID="cpHeader" runat="server">
<script src="HelpCategoryItem.js" type="text/javascript"></script>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="cpBody" runat="server">
 <div class="ui-menu">
        <uc:Menu ID="menu1" runat="server" DataFile="../Views/Permission/Menu/HelpCategoryItem.xml"
            PageCode="HelpCategoryItem" />
    </div>
     <div class="ui-wrapper">
        <div class="ui-hidden">
            <dx:ASPxLabel ID="lblKeyid" ClientInstanceName="lblKeyid" runat="server" />
            <dx:ASPxLabel ID="lblParentKeyid" ClientInstanceName="lblParentKeyid" runat="server" />
        </div>
        <ul class="ui-list">
            <li>
                <dx:ASPxLabel ID="lblHelpCategoryCode" runat="server" Text="帮助类别编码：" ForeColor="Red"
                    AssociatedControlID="txtHelpCategoryCode" style="display: none" />
            </li>
            <li>
                <dx:ASPxTextBox ID="txtHelpCategoryCode" ClientInstanceName="txtHelpCategoryCode"
                    runat="server" Width="120px">
                </dx:ASPxTextBox>
            </li>
            <li>
                <dx:ASPxLabel ID="lblHelpCategoryName" runat="server" ForeColor="Red" Text="帮助类别名称："
                    AssociatedControlID="txtHelpCategoryName" />
            </li>
            <li>
                <dx:ASPxTextBox ID="txtHelpCategoryName" ClientInstanceName="txtHelpCategoryName"
                    runat="server" Width="120px">
                    <ValidationSettings>
                        <RequiredField IsRequired="True" ErrorText="帮助类别名称必须填写" />
                    </ValidationSettings>
                </dx:ASPxTextBox>
            </li>
            <li>
                <dx:ASPxLabel ID="lblOrder" runat="server"  Text="排序："
                    AssociatedControlID="txtOrder" />
            </li>
            <li>
                <dx:ASPxTextBox ID="txtOrder" ClientInstanceName="txtOrder"
                    runat="server" Width="120px">
                </dx:ASPxTextBox>
            </li>
        </ul>
        <ul class="ui-list">
         <li>
                <dx:ASPxLabel ID="lblRemark" runat="server"  Text="备注："
                    AssociatedControlID="txtRemark" />
            </li>
            <li>
                <dx:ASPxTextBox ID="txtRemark" ClientInstanceName="txtRemark"
                    runat="server" Width="560px">
                </dx:ASPxTextBox>
            </li>
        </ul>
        <ul class="sl-floatcenter clearfix ui-btn-bottom ui-btn-saveforadd">
            <li class="sl-floatcenter-item">
                <dx:ASPxButton ID="btnSaveToAdd" ClientInstanceName="btnSaveToAdd" runat="server"
                  Text="保 存" AutoPostBack="false">
                   <ClientSideEvents Click="doSaveForAdd" />
                </dx:ASPxButton>
            </li>
            <li class="sl-floatcenter-item">
                <dx:ASPxButton ID="btnSaveAndContinueToAdd" ClientInstanceName="btnSaveAndContinueToAdd"
                    runat="server" Text="保存完继续新增" AutoPostBack="false">
                    <ClientSideEvents Click="doSaveAndContinueToAdd" />
                </dx:ASPxButton>
            </li>
            <li class="sl-floatcenter-item">
                <dx:ASPxButton ID="btnResetForAdd" ClientInstanceName="btnResetForAdd" runat="server"
                    Text="重 置" AutoPostBack="false">
                    <ClientSideEvents Click="doResetForAdd" />
                </dx:ASPxButton>
            </li>
        </ul>
        <ul class="sl-floatcenter clearfix ui-btn-bottom ui-btn-saveforedit">
            <li class="sl-floatcenter-item">
                <dx:ASPxButton ID="btnSaveToEdit" ClientInstanceName="btnSaveToEdit" runat="server"
                    Text="保 存" AutoPostBack="false">
                    <ClientSideEvents Click="doSaveForEdit" />
                </dx:ASPxButton>
            </li>
            <li class="sl-floatcenter-item">
                <dx:ASPxButton ID="btnCancelForEdit" ClientInstanceName="btnCancelForEdit" runat="server"
                    Text="取 消" AutoPostBack="false">
                    <ClientSideEvents Click="doCancelForEdit" />
                </dx:ASPxButton>
            </li>
        </ul>
        <div class="vsMsgContainer">
            <dx:ASPxValidationSummary ID="vsValidationSummary1" runat="server" RenderMode="OrderedList"
                Width="260px" ClientInstanceName="validationSummary" ShowErrorsInEditors="false"
                CssClass="vsMsg" ShowErrorAsLink="true">
            </dx:ASPxValidationSummary>
        </div>
    </div>
</asp:Content>
